<template>
  <div class="p-15px">
    MessageBox消息弹框封装<br /><br />
    <el-button type="warning" plain @click="msgBox1">消息弹框</el-button>
    <el-button type="primary" plain @click="msgBox2">消息Html弹框</el-button>
  </div>
</template>

<script setup lang="ts">
import { koiMsgBox, koiMsgBoxHtml } from "@/utils/koi.ts";
const msgBox1 = () => {
  koiMsgBox("快夸我帅🌻，菜鸡！");
};

const msgBox2 = () => {
  koiMsgBoxHtml(`<p style="color: teal">快夸夸我🌻，小姐姐</p>`);
};
</script>

<style scoped></style>
